﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StateGrid.MDBservice
{
    public class ColumnError
    {
        /// <summary>
        /// 字段名
        /// </summary>
        private String column;

        /// <summary>
        /// 字段名
        /// </summary>
        public String Column
        {
            get { return column; }
            set { column = value; }
        }
        /// <summary>
        /// 错误信息
        /// </summary>
        private String error;

        /// <summary>
        /// 错误信息
        /// </summary>
        public String Error
        {
            get { return error; }
            set { error = value; }
        }

        public override string ToString()
        {
            return "Column " + Column + ": " + Error + "\n";
        }
    }
}
